package jp.gr.java_conf.homeems;

import org.restlet.Application;
import org.restlet.Restlet;
import org.restlet.routing.Router;

public class HomeEMSRestletApplication extends Application {
	/**
	 * Create a root Restlet that will receive all incoming calls.
	 */
	@Override
	public Restlet createInboundRoot() {
		// Create a router Restlet that routes each call to a 
		// new instance of HelloWorldResource.
		Router router = new Router(getContext());
		
		// DEfines only one route
		router.attachDefault(GotAppResource.class);
		
		return router;
	}
}
